home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4807 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  31 lines

  1. Newsgroups: rec.games.programmer,comp.lang.c,alt.lang.asm,comp.lang.asm.x86
  2. Path: news2.new-york.net!not-for-mail
  3. From: ZiMMER <amoeba@buttercup.cybernex.net>
  4. Subject: Re: Int 10h
  5. Content-Type: text/plain; charset=us-ascii
  6. X-Nntp-Posting-User: (Unauthenticated)
  7. Content-Transfer-Encoding: 7bit
  8. Message-ID: <DMDu98.DoM@news2.new-york.net>
  9. References: <4f2v3d$qs9@wolfe.wimsey.com> <4f52od$bni@hacgate2.hac.com> <DMBw88.G5G@news2.new-york.net> <4f879l$gfu@solaris.cc.vt.edu>
  10. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  11. Mime-Version: 1.0
  12. X-Trace: 823657578/17528
  13. X-Nntp-Posting-Host: cnj28.cybernex.net
  14. Date: Wed, 7 Feb 1996 01:46:20 GMT
  15.  
  16. Incorrect.  I personally only use Int 10h for one thing and one thing
  17. only, and that's changing the video mode.  Once the mode is set
  18. (usually mode 13h or a tweak thereof), I never touch the interrupt
  19. again.  Int 10h is incredibly inefficient - you can't get any decent
  20. hardware speed from it whatsoever.  My advice - Use it to set modes,
  21. and do the rest manually through the VGA registers.
  22.  
  23. Of course, using VGA registers is lot faster, (pixel plotting like things)
  24. But it's often hard to program through VGA registers. In this case, 
  25. changing default fonts, there is no need for speed, and mostly need for
  26. efficiency. I would not recommend using VGA registers to reset the font.
  27. No thanks. Int 10h sounds much easyer in this case.
  28.  
  29. But VGA registers have their uses of course. I have no doubt.:)
  30.  
  31.